package com.techstar.api.pojo.city;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.joda.time.DateTime;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 行政辖区拥堵排名
 * @date 2021年6月25日
 *
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "district_congest_rank")
@org.hibernate.annotations.Table(appliesTo = "district_congest_rank",comment="pord-1-行政辖区拥堵排名")
public class DistrictCongestRank {
	private String id;
	@Id
	private String distId;
	private String distName;
	private Double congestIndex;
	private String congestIndexCsy;
	private String congestIndexCsm;
	private Double speedAvg;
	private String speedAvgCsy;
	private String speedAvgCsm;
	private String congestDuration;
	private Double congestMileage;
	@JsonDeserialize(using = DateTimeDeserializer.class)
	private DateTime createTime;
	private String timeIntervalId;
	@JsonProperty("endTime")
	@JsonDeserialize(using = DateTimeDeserializer.class)
	private DateTime endTime;
	@JsonDeserialize(using = DateTimeDeserializer.class)
	private DateTime updateTime;
}
